package net.ifilm.domain;

/**
 * CreateBy: <a href="wangjunneil@gmail.com">Calvin</a>
 * CreateTime: 2013-11-22 15:11
 */
public class Configuration {

    private String dbDriver;

    private String dbUrl;

    private String dbUser;

    private String dbPass;

    // --------------------------------------

    private int threadNum;

    // --------------------------------------

    private String siteDomain;

    private String siteKey;

    private String sitelist;

    private String sitePages;

    private String downloadPath;


    public void setDbDriver(String dbDriver) {
        this.dbDriver = dbDriver;
    }

    public String getDbUrl() {
        return dbUrl;
    }

    public void setDbUrl(String dbUrl) {
        this.dbUrl = dbUrl;
    }

    public String getDbUser() {
        return dbUser;
    }

    public void setDbUser(String dbUser) {
        this.dbUser = dbUser;
    }

    public String getDbPass() {
        return dbPass;
    }

    public void setDbPass(String dbPass) {
        this.dbPass = dbPass;
    }

    public int getThreadNum() {
        return threadNum;
    }

    public void setThreadNum(int threadNum) {
        this.threadNum = threadNum;
    }

    public String getSiteDomain() {
        return siteDomain;
    }

    public void setSiteDomain(String siteDomain) {
        this.siteDomain = siteDomain;
    }

    public String getSiteKey() {
        return siteKey;
    }

    public void setSiteKey(String siteKey) {
        this.siteKey = siteKey;
    }

    public String getDbDriver() {
        return dbDriver;
    }

    public String getSitelist() {
        return sitelist;
    }

    public void setSitelist(String sitelist) {
        this.sitelist = sitelist;
    }

    public String getSitePages() {
        return sitePages;
    }

    public void setSitePages(String sitePages) {
        this.sitePages = sitePages;
    }

    public String getDownloadPath() {
        return downloadPath;
    }

    public void setDownloadPath(String downloadPath) {
        this.downloadPath = downloadPath;
    }

    @Override
    public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("Configuration [").append("dbdriver=").append(dbDriver).append(',').append("dburl=").append(dbUrl)
                .append(',').append("dbuser=").append(dbUser).append(',').append("dbpass=").append(dbPass).append(',')
                .append("threadnum=").append(threadNum).append(',').append("siteKey=").append(siteKey).append(']');
        return sb.toString();
    }
}
